package com.github.binarywang.demo.wx.mp.redmaple.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WeChatKeywordsDao {

    @Select("SELECT wk.* FROM wechat_keywords wk where wk.keyword_name like concat('%', #{keyName},'%')")
    WeChatKeyWords getbyName(@Param("keyName") String keyName);
}
